php random string

41

laravel Str::random -

use Illuminate\Support\Str;

$random = Str::random(40);

Generate Random String in PHP -

phpCopy<?php 
$Random_str = uniqid();  
echo "Random String:", $Random_str, "\n";
?> 

Comments

Submit
0 Comments